home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CDOS10.ARJ / SCRFCTS.H < prev    next >
C/C++ Source or Header  |  1992-07-07  |  2KB  |  56 lines

  1. #if !defined (SCRFCTS)            /* Prevents multiple declarations errors */
  2. #define SCRFCTS
  3.  
  4.  
  5. /*----- Library Header Files ----------------------------------------------*/
  6.  
  7. #include <conio.h>
  8.  
  9.  
  10. /*----- Type Definitions --------------------------------------------------*/
  11.  
  12. struct cur_info
  13. {
  14.    unsigned char attribute ;                             /* Text attribute */
  15.    unsigned char curx ;                  /* X coordinate in current window */
  16.    unsigned char cury ;                  /* Y coordinate in current window */
  17.    unsigned int  curtype ;                                 /* Cursor shape */
  18. } ;
  19.  
  20.  
  21. /*----- Prototype ---------------------------------------------------------*/
  22.  
  23. void far scr_vsave            /* Save all video informations except cursor */
  24.  
  25. ( struct text_info huge *ti,                  /* Ptr to a text_info struct */
  26.   char huge*huge *savedscr             /* Ptr to ptr to screen's save area */
  27. ) ;
  28.  
  29.  
  30. /*----- Prototype ---------------------------------------------------------*/
  31.  
  32. void far scr_vrestore      /* Restore all video informations except cursor */
  33.  
  34. ( struct text_info huge *ti,                  /* Ptr to a text_info struct */
  35.   char huge*huge *savedscr             /* Ptr to ptr to screen's save area */
  36. ) ;
  37.  
  38.  
  39. /*----- Prototype ---------------------------------------------------------*/
  40.  
  41. void far scr_csave                           /* Save all cursor attributes */
  42.  
  43. ( struct cur_info huge *ci ) ;                 /* Ptr to a cur_info struct */
  44.  
  45.  
  46. /*----- Prototype ---------------------------------------------------------*/
  47.  
  48. void far scr_crestore                     /* Restore all cursor attributes */
  49.  
  50. ( struct cur_info huge *ci ) ;                 /* Ptr to a cur_info struct */
  51.  
  52.  
  53. /*----- End Header File ---------------------------------------------------*/
  54.  
  55. #endif
  56.